<?php 
	require('configs/include.php');
	class c_assign extends super_controller{
		public function display(){
		$arr= array('red','green','bleu');
		$this->engine->assign('my_colors', $arr);
		$people= array('name'=>'JHon','Las Name'=>'doe','email'=>'manuelsla@dsf');
		$this->engine->assign('my_people', $people);
		$this->engine->assign('title', 'Extra smarty');
		$this->engine->display('header.tpl');
		$this->engine->display('smarty.tpl');
		$this->engine->display('footer.tpl');
		}
		public function run(){
			$this->display();
		}
	}
	$call = new c_smarty();
	$call -> run();
?>